<?php if ($this->pageCount && $this->pageCount>1): ?>
<div class="paginationControl" align="center">
<?php 
$i =0;
    if (isset($this->previous)){
          echo '<a href="' . $this->url(array('page' => $this->previous)). '"> &lt;</a>';
    }
    foreach ($this->pagesInRange as $page){
    	if($page >= $this->current -1 && $page < $this->current +2 && $i++ <3){
       if ($page != $this->current){
               echo  '<a href="' . $this->url(array('page' => $page)). '">' . $page . '</a>';
      }else{
          echo "<a class='current_page'>$page</a>";
      }
   	}
    }
     if (isset($this->next)){
        echo '<a href="' . $this->url(array('page' => $this->next)) . '"> &gt;</a>';
       }
  ?>
</div>
<?php endif; ?>